<template>
  <div class="hello" style="margin-top: 90px;">
    <img class="logo" src="../assets/bg.jpg">
    <h1 class="colorful-animation">{{ msg }}</h1>
    <h3 @click="$router.push('/func-test')">函数测试</h3> |
    <h3 @click="$router.push('/regular-exp')">正则演练场</h3> |
    <h3 @click="$router.push('/grid-layout')">Grid网格布局</h3> |
    <h3 @click="$router.push('/some-tools')">常用工具库</h3>
    <h4>auhtor：byts <span style="width: 10px;display: inline-block;"> </span> e-mail：594511164@qq.com</h4>
  </div>
</template>

<script>

export default {
  name: 'HelloWorld',
  data () {
    return {
      msg: 'Welcome to Vue.js App'
    }
  },
  
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="less">
@import '../css/common.less';
h1, h2 {
  font-weight: normal;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
h3 {
  color: @green;
  cursor: pointer;
  display: inline-block;
  margin-right: 8px;
  margin-left: 8px;
}
h3:hover{
  text-decoration: underline;
}
.hello{
  margin-top: 130px;
}
.logo{
  width: 240px;
  border-radius: 10px;
  box-shadow: 0 0 5px @grey;
}
.colorful-animation{
  font-weight: bold;
  animation: colorful 1.5s ease-in infinite;
}

</style>
